package com.itbour.dao.tg;

import java.util.List;
import java.util.Map;

import com.itbour.dto.tg.PartnerOrderInfDto;
import com.itbour.dto.tg.PartnerSaleDto;

public interface PartnerOrderInfoDao {
	//获取合伙人订单明细
	public List<PartnerOrderInfDto> getPartnerOrderInf(Map<String, Object> parm);
	
	//获取分页订单分页 订单数量
	public int getPartnerOrdetailCnt(Map<String, Object> parm);
	
	//获取合伙人销售排行信息
	public List<PartnerSaleDto> getPartnerSaleInfo(Map<String, Object> map);
	
	//获取销售排行 分页数量
	public int getPartnerSaleCnt(Map<String, Object> parm);
	
	// 计算合伙人奖金
	public Long calPartnerBonus(Map<String, Object> parm);
}
